package org.cn.lennon.mybatis.session;

import java.sql.SQLException;

import org.cn.lennon.mybatis.transcation.DefaultTransaction;

public interface SqlSession extends DefaultTransaction{

	public <T> T selectOne(String statmenId, Object[] args) throws SQLException;
	
	public int update(String statmenId, Object[] args) throws SQLException;
	
	public int insert(String statmenId, Object[] args) throws SQLException;
	
	public int delete(String statmenId, Object[] args) throws SQLException;
	
}
